#include "ClientHandler.h"
#include "HandlerThread.h"


HandlerThread::HandlerThread()
:handler(0)
{

}

HandlerThread::~HandlerThread()
{
	
}

unsigned int HandlerThread::svc()
{
	while(1)
	{
		if(!handler->recvMsg())
			break;
		if(isClosed())
			break;
	}
	return 0;
}